package com.fecean.aabbc.netty.client.prod7;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 ** 客户端影院配置
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2020-03-03 10:00
 * @blame Team
 */
@Data
@Component
@ConfigurationProperties(prefix = "frontend.client.cinema")
@Validated
public class CinemaConfig implements Serializable {

    private static final long serialVersionUID = -5668877693368764034L;

    /**
     ** 影院租户ID
     */
    @NotBlank
    private String tenantId;

    /**
     ** 影院编码
     */
    @NotBlank
    private String cinemaCode;
}
